
package com.wysql.dalian;

import com.wysql.common.PdCityMap;
import com.wysql.common.exception.GlobalExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@EnableFeignClients(basePackages = {"com.wysql.feign.client"})
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(value = {"com.wysql.dalian.mapper", "com.wysql.dalian.mapper.xml"})
@Import({GlobalExceptionHandler.class, PdCityMap.class

})
public class DldpApplication {
    public static void main(String[] args) {
        SpringApplication.run(DldpApplication.class, args);
    }
}
